.adm-modal-body {
  &.act-feedback-modal {
    //background: rgba(255, 255, 255, 1);
    // background: #d1e7ff;
    // background-image: url("#{$base_path}/img/game/modal_bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    max-width: 90vw;
    // width: 76vw;
    // border: 2px solid #d1ebff;
    padding: 12px !important;
    position: relative;
    overflow: visible;
    max-height: 80vh;
    min-height: 24vh;
    @include boxSize();
    //@include borderRadius(16px 96px 16px 16px);

    //&:after {
    //  content: "";
    //  position: absolute;
    //  right: -8px;
    //  top: -10px;
    //  width: 60px;
    //  height: 70px;
    //  z-index: 11;
    //  background-size: contain;
    //  background-repeat: no-repeat;
    //  background-image: url("/img/other/modal-deco-line.png");
    //}

    &.close-hidden {
      > .adm-modal-content {
        > .inner {
          > .close-btn {
            display: none !important;
          }
        }
      }
    }

    &.close-at-center-bottom {
      > .adm-modal-content {
        > .inner {
          > .close-btn {
            top: calc(100% + 2rem);
            right: 50%;
            font-size: 3.6rem;
            @include transform(translateX(50%));
          }
        }
      }
    }

    > .adm-modal-content {
      //border: 2px solid #f9efd2;
      max-height: 90vh;
      //@include borderRadius(16px 84px 16px 16px);
      @include boxSize();

      > .inner {
        padding: 1.2rem 0 1.2rem;
        padding-top: 0;

        > .close-btn {
          position: absolute;
          right: -2.4rem;
          top: -2.6rem;
          font-size: 2.4rem;
          color: #fff;
          display: inline-block;
        }

        > .title {
          font-size: 1.8rem;
          font-weight: 800;
          color: var(--adm-color-primary);
          white-space: nowrap;
          text-align: center;
        }

        > .content {
          padding: 0;

          > .inner {
            padding: 0;

            > .thumb {
              position: relative;

              .prize-item {
                position: relative;
                z-index: 11;
                width: 120px;
              }

              .deco {
                z-index: 9;
                position: absolute;

                &.deco-stripe {
                  top: 50%;
                  width: 100%;
                  left: 50%;
                  @include transform(translate(-50%, -50%));
                }
              }
            }

            > .title {
              margin-top: 1.6rem;
              font-size: 1.5rem;
              color: var(--adm-color-primary);
            }

            > .subtitle {
              margin-top: 5px;
              font-size: 1.4rem;
              color: var(--adm-color-primary);
              background: #d8e9f5;
              word-break: break-all;
              padding: 1px 3px;
              @include borderRadius(3px);
            }
          }
        }

        .operation {
          // margin-top: 12px;
          padding: 1rem 0;
        }
      }

    }

    > .adm-modal-footer.adm-modal-footer-empty {
      display: none;
    }

    .result-modal-icon {
      img {
          height: 84px;
          display: block;
          margin: 10px auto;
      }
      

  }
  .result-modal-text {
          font-size: 21px;
          // color: rgb(40, 115, 229);
          // color: #804a0f;
          line-height: 1.2;
          // text-align: center;
        
  }
  .result-modal-text2 {
      font-size: 14px;
      color: rgb(102, 102, 102);
      line-height: 2;
      margin-top: 10px;
      text-align: center;
    }
    
    .operation {
      position: absolute;
      bottom: 1%;
      left: 50%;
      transform: translateX(-50%);
      // height: 30px;
      // background-color: #fefbef;
      .modal-btn {
          background-image: url(#{$base_path}/img/puzzle/modal_btn_bg.png);
          background-size: cover;
          color: #fff;
              font-size: 18px;
              line-height: 1.127;
              text-align: center;
              text-shadow: 0px 1px 1px rgba(7, 1, 3, 0.5);
            
          background-repeat: no-repeat;
          background-position: center;

      }
    }

  }

  &.modal-body-noti {
    padding: 1.6rem;
    @include boxSize();
    position: relative;

    > .adm-modal-content {

      > .inner {

        > .close-btn {
          position: absolute;
          right: 1.6rem;
          top: 1.2rem;
          font-size: 2.4rem;
          display: inline-block;
        }

        > .header {
          text-align: center;
          padding: 2rem 0;

          .header-img {
            height: 2rem;
          }
        }

        > .title {

        }

        > .content {
          > .inner {
            text-align: center;
            padding: 1rem 0;
            line-height: 3rem;
          }
        }

        > .operation {
          padding: 1rem 0;
        }

      }
    }
  }

  // 标题 和 按钮在mask上 不在背景上
  &.price-result-modal {
    padding: 0;
    @include boxSize();
    position: relative;
    width: 80vw;
    &::before {
      background-image: url(#{$base_path}/img/game/price-result-modal-title.png);
      width: 48px;
      height: 63px;
      left: 10px;
      top: -13px;
  
    }
    // background: rgba(255, 255, 255, 0);
    .price-close-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      width: 20px;
      height: 20px;
    }
    &.close-hidden {
      > .adm-modal-content {
        > .inner {
          > .close-btn {
            display: none !important;
          }
        }
      }
    }

    > .adm-modal-content {

      > .inner {
        padding-bottom: 0 !important;
        > .close-btn {
          position: absolute;
          right: 1rem;
          top: 0;
          font-size: 2.4rem;
          color: #fff;
          display: inline-block;
          // background-image: url('#{$base_path}/img/game/result-modal-close-btn.png');
        }

        > .header {
          text-align: center;
          padding: 2rem 0;

          .header-img {
            height: 2rem;
          }
        }

        > .title {
          font-size: 3.0rem;
          color: #fff;
          text-align: center;
        }

        > .content {
          // padding: 1rem;
          @include borderRadius(20px);
          box-shadow: inset 0 0 18px -3px #fff;
          //border: 1px solid #fff;
          // background: #d1e7ff;
          //@include borderRadius(16px 96px 16px 16px);
          position: relative;

          &:after {
            //content: "";
            position: absolute;
            right: -8px;
            top: -10px;
            width: 60px;
            height: 70px;
            z-index: 11;
            background-size: contain;
            background-repeat: no-repeat;
            // background-image: url("/img/other/modal-deco-line.png");
          }

          > .inner {
            @include borderRadius(14px);
            //background: #fff;
            text-align: center;
            // padding: 1.8rem 0 1.6rem;
            //border: 2px solid #f9efd2;
            //@include borderRadius(16px 84px 16px 16px);
            @include boxSize();

            .thumb {
              height: 78px;
              margin-top: 28px;
              img {
                height: 100%;
              }
            }

            .header {
              color: var(--adm-color-primary);
              font-size: 2rem;
              margin-bottom: 1.6rem;
              white-space: pre-wrap;
            }

            .title {
              //margin-top: 3.6rem;
              margin-top: 0;
              font-size: 2rem;
              // color: #804a0f;

              // text-shadow: 0 2px 0px #cc801d;
            }
          }
        }

        > .operation {
          // padding-top: 1rem 0;
          // bottom: -50px;
          background-color: transparent;
        }

      }
    }
  }

  &.rule-modal {
    padding: 0;

    @include boxSize();
    position: relative;
    width: 90vw;
    // max-height: 100vh;
    background: rgba(255, 255, 255, 0);
    overflow: visible;
    // background-image: url("#{$base_path}/img/puzzle/rule_bg.png");
    //       background-size: 96%;
    //       background-repeat: no-repeat;
    &.close-hidden {
      > .adm-modal-content {
        > .inner {
          > .close-btn {
            display: none !important;
          }
        }
      }
    }

    &.close-at-center-bottom {
      > .adm-modal-content {
        > .inner {
          > .close-btn {
            top: 88%;
            right: 50%;
            font-size: 3.6rem;
            @include transform(translateX(50%));
          }
        }
      }
    }

    > .adm-modal-content {
      // max-height: 100vh;
      // margin-top: -10vh;
      //overflow: hidden;
      
      padding: 0;

      > .inner {
        height: 100%;
        // padding-bottom: 50px;

        > .close-btn {
          position: absolute;
          right: 10px;
          top: 0.2rem;
          // top: 1rem;
          font-size: 3.4rem;
          color: #333;
          z-index: 999;
        }


        > .title {
          font-size: 3.0rem;
          color: #000000;
          margin-bottom: 18px;
          text-align: center;
          z-index: 99;
          position: relative;

          .header-img {
            width: 200px;
          }
        }

        > .content {
          max-height: 67vh;
          // margin-top: -6vh;
          overflow-y: auto;
          @include borderRadius(10px);
          // background: #d1e7ff;
          padding-bottom: 60px;
          
          > .inner {
            //@include borderRadius(14px);
            //background: rgba(255, 255, 255, 0.8);
            padding: 3.2rem 2rem 1.2rem;
            padding-top: 0;

            > .title {
              text-align: center;
              margin: 1rem auto;
              font-size: 1.8rem;
              position: relative;

              &:after {
                height: 6px;
                width: 100px;
                background: #fff;
                position: absolute;
                left: 50%;
                @include transform(translateX(-50%));
                //content: "";
                bottom: 0;
                @include borderRadius(5px);
              }
            }

            > .content {
              text-indent: 2rem;
            }

            .cp-rule {
              // padding: 30px 0;
              // padding-top: 50px;
              .header {
                color: #333;
              }
            }
          }
        }

        > .operation {
          padding: 1rem 0;
          background-color: #fff;
        }

      }
    }
  }

  &.game-feedback {
    width: 85vw;
    position: relative;
    overflow: visible;
    background: #d1e7ff;

    &:after {
      position: absolute;
      top: -120px;
      left: 50%;
      @include transform(translateX(-50%));
      width: 100%;
      height: 150px;
      content: "";
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      z-index: 1;
    }

    &.win {
      &:after {
        background-image: url(#{$base_path}/img/game/game-result-success.png);
      }
    }

    &.lose {
      &:after {
        background-image: url(#{$base_path}/img/game/game-result-fail.png);
      }
    }

    > .adm-modal-content {
      position: relative;
      z-index: 11;

      > .inner {
        text-align: center;
        padding: 36px 16px;
        color: var(--adm-color-primary);
        
        




        > .content {

          .title {
            font-size: 20px;
          }

          .subtitle {
            opacity: 0.8;
          }

          .operation {
            display: block;
            margin-bottom: 16px;

            .act-btn {
              margin-top: 16px;
            }
          }
        }

      }
    }
  }

  &.address-modal-body {
    width: 85vw;
    background: #eff4f7;

    > .adm-modal-content {
      > .inner {
        padding: 36px;

        > .content {
        }
      }
    }


  }

  &.cp-lottery-modal {
    .lottery-result-title {
      font-size: 2rem;
      text-align: center;
      padding: 1rem 0;
      font-weight: 800;
      font-style: italic;
      color: var(--adm-color-primary);
    }
  }

  .close-btn {
    //display: none;
  }

  .operation {
    width: 90%;
    
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
  }
}
.adm-center-popup-wrap {
  .rule-modal {
    // background-image: url("#{$base_path}/img/game/modal_bg.png");
    background-color: #ffffff;
    border-radius:0;
          // background-size: 100% 100%;
          // background-repeat: no-repeat;
    .adm-modal-content {
      > .inner {
        // background-image: url("#{$base_path}/img/puzzle/rule_bg.png");
        //   background-size: 100% 100%;
        //   background-repeat: no-repeat;
      }
    }
  }
  
}